package org.grow.leave.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Permission")
public class Permission {
    @TableId(value = "permissionId", type = IdType.AUTO)
    private Integer permissionId;

    @TableField(value = "url")
    private String url;

    @TableField(value = "`method`")
    private String method;

    @TableField(value = "title")
    private String title;
}